# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- project:
    check:
      jobs:
        - openstack-ansible-linters
        - openstack-ansible-varstest-aio_lxc-ubuntu-xenial
        - openstack-ansible-deploy-aio_lxc-ubuntu-xenial
        - openstack-ansible-deploy-ceph-ubuntu-xenial
        - openstack-ansible-deploy-aio_metal-ubuntu-xenial
        - openstack-ansible-deploy-aio_nspawn-ubuntu-xenial
        # NOTE(mhayden): Temporarily replacing with aio_basekit scenario.
        # - openstack-ansible-deploy-aio_lxc-centos-7
        # - openstack-ansible-deploy-aio_lxc-opensuse-423
        # - openstack-ansible-deploy-ceph-centos-7
        # - openstack-ansible-deploy-ceph-opensuse-423
        - openstack-ansible-deploy-aio_basekit-centos-7
        - openstack-ansible-deploy-aio_basekit-opensuse-423
    experimental:
      jobs:
        - openstack-ansible-deploy-octavia-ubuntu-xenial
        - openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-xenial
        - openstack-ansible-deploy-aio_nspawn-centos-7
        - openstack-ansible-deploy-congress-ubuntu-xenial
    gate:
      jobs:
        - openstack-ansible-linters
        - openstack-ansible-varstest-aio_lxc-ubuntu-xenial
        - openstack-ansible-deploy-ceph-ubuntu-xenial
        - openstack-ansible-deploy-aio_lxc-ubuntu-xenial
    periodic:
      jobs:
        # We remove the centos and opensuse periodics
        # until they are more likely to pass on time.
        # (Currently timing out).
        #- openstack-ansible-deploy-aio_lxc-centos-7
        #- openstack-ansible-deploy-aio_lxc-opensuse-423
        - openstack-ansible-deploy-aio_lxc-ubuntu-xenial
        #- openstack-ansible-deploy-ceph-centos-7
        - openstack-ansible-deploy-ceph-ubuntu-xenial
        - openstack-ansible-deploy-translations-ubuntu-xenial
        - openstack-ansible-upgrade-aio_lxc-ubuntu-xenial
        - openstack-ansible-upgrade-ceph-ubuntu-xenial